import { createRootRoute, HeadContent, Outlet } from "@tanstack/react-router";
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
import RootLayout from "@/layouts/RootLayout";

export const Route = createRootRoute({
  head: () => ({}),
  component: RootDocument,
});

function RootDocument() {
  return (
    <>
      <HeadContent />
      <RootLayout>
        <Outlet />
      </RootLayout>
      <TanStackRouterDevtools />
    </>
  );
}
